home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / sgml / msdos / sgml07 / changelo < prev    next >
Encoding:
Text File  |  1992-03-27  |  24.3 KB  |  751 lines

  1. Fri Mar 27 11:18:06 1992  James Clark  (jjc at jclark)
  2.  
  3.     * Version 0.7 released.
  4.  
  5.     * modsgml2.c (scbset): Check that es >= 0.
  6.  
  7.     * sgmldecl.c (sgmlappinfo): New function.
  8.     * sgmlmain.h: Declare it.
  9.  
  10.     * lineout.c (output_internal_entity): Distinguish CDATA and SDATA
  11.     entities with a keyword rather than woth \|.
  12.     * sgmls.c (parse_internal_entity): Grok this.
  13.     Rename E_ENTITYTYPE to E_BADEXTERNAL.
  14.     Change error message for E_BADINTERNAL.
  15.     (unescape): Split off part into
  16.     (unescape1): New function.
  17.     * sgmls.pl: Grok new I format.
  18.  
  19.     * sgmlio.c (nifopen): New function.
  20.     (FOPENR): Define as nifopen if HAVE_O_NOINHERIT is defined.
  21.     * dos.cfg: Define HAVE_NO_INHERIT.
  22.  
  23.     * stklen.c: New file.
  24.     * Makefile.bcc: Compile stklen.c.
  25.     * Makefile: Include stklen.c in distribution.
  26.  
  27.     * main.c (main): New -p option.
  28.  
  29.     * modpars1.c (parsepro): Give an error for R/CDATA marked section
  30.     in the DTD subset.
  31.     * msg.h: Use message 135 for this.
  32.  
  33.     * modpars1.c (common): Rename to commbufs. Change callers.
  34.     * sgmlfnsm.h: Change declaration.
  35.  
  36.     * sgmlsasp.c (main): New -n option.
  37.     (fold_general_names): New variable.
  38.     * sgmlsasp.h (fold_general_names): Declare it.
  39.     * replace.c (scan_name): Fold name to upper case only if
  40.     fold_general_names is non-zero.
  41.  
  42. Thu Mar 26 12:39:24 1992  James Clark  (jjc at jclark)
  43.  
  44.     * modpars1.c (setdtype): Don't give message about the document
  45.     type element's not being declared if we already gave an error
  46.     message about there not being a doctype declaration.
  47.     (parsepro): In onlypro mode, call setdtype.
  48.  
  49. Wed Mar 25 11:13:18 1992  James Clark  (jjc at jclark)
  50.  
  51.     * sgmldecl.c (sdquantity): Eliminate unnecessary inner
  52.     redeclaration of i.
  53.  
  54.     * sgmldecl.c (sdnaming): Eliminate unnecessary assignment to i.
  55.  
  56.     * sgmls.c (parse_data): Eliminate unnecessary assignment to start.
  57.  
  58.     * main.c (make_argv): Eliminate unnecessary increment of i.
  59.  
  60.     * entgen.c (entgen): Eliminate unnecessary assignment to buf.
  61.  
  62.     * modpars2.c (antvget): Make advn local to block in which it is
  63.     used. Eliminate unnecessary assignment.
  64.  
  65.     * modpars2.c (alperm): Eliminate unnecessary assignment to alperm.
  66.  
  67.     * modpars1.c (parsecon): Eliminate unnecessary assignment to pcb.
  68.  
  69.     * context.c (newtoken): Make Psave and rc local to block in which
  70.     it is used. Eliminate unnecessary assignments.
  71.  
  72.     * Cast some arguments of xrealloc, memcpy, MEMZERO to UNIV.
  73.  
  74.     * tools.c (VP): New macro.
  75.     * sgmlsasp.h (VP): New macro.
  76.     * appl.h (appl_error): 
  77.     * main.c (fatal):
  78.     * replace.c (parse_error):
  79.     * sgmlmsg.c (xfprintf): Use VP for prototypes of varargs functions.
  80.  
  81. Mon Mar 23 13:57:55 1992  James Clark  (jjc at jclark)
  82.  
  83.     * sgmlxtrn.c (savedpos): New variable.
  84.     * sgmlxtrn.h: Declare it.
  85.     * modpars1.c (endprolog): Separate allocation of struct mpos's
  86.     into...
  87.     (newmpos): New function.
  88.     (endprolog): Allocate savedpos.
  89.     * context.c (context): If there's an applicable inclusion, save
  90.     the current position in savedpos.  Don't return RCPEX unless the
  91.     element is valid in this model only as an inclusion; in this case,
  92.     restore the saved position.
  93.  
  94. Sun Mar 22 10:34:54 1992  James Clark  (jjc at jclark)
  95.  
  96.     * entity.h (struct switches): Add onlypro member.
  97.     * main.c (swinit): Initialize onlypro.
  98.     * modpars1.c (parsepro): If onlypro switch is set, don't give an
  99.     error for EOD after DTD subset is finished, and also return EOD at
  100.     end of prolog.
  101.  
  102. Sat Mar 21 19:27:59 1992  James Clark  (jjc at jclark)
  103.  
  104.     * etype.h (TXOPT, TXREP, TXOREP): New ttype flags to support dump.c.
  105.     * modpars2.c (parsemod, parsegcm): Set TX* flags when occurrence
  106.     indicator is specified explicitly.
  107.  
  108.     * modmd2.c (mdentity): Build the entity text for ESS and ESE
  109.     types. Handle ESS and ESE like other internal entity types.
  110.     (tagtext, entfix): Deleted.
  111.     * sgmlxtrn.c (tagtext, entfix): Delete declarations.
  112.     * modpars1.c (shortref): Don't handle ENTEGI, ENTSGI. Delete
  113.     stagrc variable.
  114.     * modpars2.c (parse): Likewise. Delete stagrc variable.
  115.     * modsgml2.c (entopen): Handle ESS and ESE normally.
  116.     * traceset.c (traceecb): Likewise.
  117.     * source.h (ENTEGI, ENTSGI): Deleted.
  118.     (ENTDATA, ENTPI): Renumber.
  119.  
  120. Mon Feb 24 16:12:59 1992  James Clark  (jjc at jclark)
  121.  
  122.     * context.c (testend): Insert brackets around && within || to keep
  123.     gcc 2 quiet.
  124.  
  125.     * traceset.c: Add some casts to keep gcc 2's -Wformat happy.
  126.  
  127. Fri Feb 21 12:21:05 1992  James Clark  (jjc at jclark)
  128.  
  129.     * lineout.c (process_subdoc): Forget the current filename after
  130.     processing subdoc.
  131.  
  132.     * main.c (build_subargv): Pass on -l.
  133.  
  134. Thu Feb 20 11:48:06 1992  James Clark  (jjc at jclark)
  135.  
  136.     * action.h (MSP_): New action.
  137.     * arcpcbrf.c (md7a): Change action for MSO from LAF_ to MSP_.
  138.     * modpars1.c (parsepro): Handle MSP_.  For MSS_ return DCE_.
  139.     * modsgml1.c (sgmlnext): Change handling of MSS_ in the prolog.
  140.  
  141.     * modserv.c (hout): Use a struct hash **.  Had bug when removing
  142.     first element in chain.
  143.  
  144. Tue Feb 18 11:11:35 1992  James Clark  (jjc at jclark)
  145.  
  146.     * sgmlxtrn.c: Don't declare array sizes unnecessarily. Insert
  147.     newlines in license.
  148.  
  149.     * msg.h: Give errors about unsupported features a `U' type code.
  150.     * sgmlsmsg.c: Use a different header for `U' type messages.
  151.  
  152. Fri Feb 14 11:41:51 1992  James Clark  (jjc at jclark)
  153.  
  154.     * sgmls.c (parse_data): Don't use strchr.
  155.  
  156.     * replace.c (hash): Change hashing function. Do modulus in hash().
  157.     Make return type int.  Change callers.
  158.  
  159.     * sgmls.h, sgmls.c, sgmlsasp.c: Redo error handling so as not to use
  160.     setjmp.
  161.     * std.h: Don't include <setjmp.h>.    
  162.  
  163.     * source.h (ENTHASH):
  164.     * etype.h (ETDHASH):
  165.     * adl.h (IDHASH): Bump up values.
  166.  
  167.     * modserv.c (hash): Use better hashing function.
  168.  
  169.     * modserv.c (idget): Deleted.
  170.     * sgmlfnsm.h: Delete declaration.
  171.  
  172.     * momd11.c (mdelem, mdadl):
  173.     * modmd2.c (mdsrmuse): Don't allocate nmgrp
  174.     * modmd1.c (mdnadl, mdelem): Don't allocate nnmgrp.
  175.     * modpars2.c (parsemod): Don't allocate gbuf.
  176.     * modmd2.c (mdelem): Don't allocate nmbuf
  177.     * modmd2.c (mdextid): Don't allocate sysibuf, pubibuf.
  178.     * sgmldecl.c (bufsalloc, bufsrealloc): Handle only scbs and tbuf.
  179.     * modpars1.c (parsepro): Call startdtd() before mddtds.
  180.     (startdtd): New function. Allocate nmgrp, nnmgrp, gbuf, nmbuf,
  181.     pubibuf, sysibuf.
  182.     (common): New function.  Allocate al, lbuf, entbuf.
  183.     (endprolog): Free buffers allocated in startdtd().  Call common()
  184.     if it hasn't already been called.
  185.  
  186. Thu Feb 13 10:42:26 1992  James Clark  (jjc at jclark)
  187.  
  188.     * modsgml2.c (entref): Handle the case where the entity has been
  189.     used in a shortref mapping declaration, but has not been defined.
  190.  
  191.     * Redo tracing code.
  192.  
  193.     * traceset.c (traceecb): Return if p is NULL.
  194.     * modsgml2.c (entfind): Call traceecb even if p is NULL.
  195.  
  196.     * sgmlincl.h: Always include trace.h.
  197.  
  198.     * traceset.c (estype1, estype2): Make them local static variables
  199.     in traceecb.
  200.     * trace.h (estype1, estype2): Declarations deleted.
  201.  
  202.     * sgmlxtrn.[ch] (pifldlen): Deleted.
  203.     * modmd2.c (pubfield): Additional argument that gets length of
  204.     field.
  205.     (parsefpi): Change callers.  Don't use pifldlen.
  206.  
  207.     * modpars2.c (antvget): Pass pointer which receives value.
  208.     (parseatt): Pass pointer to antvget() to receive value.
  209.     * sgmlxtrn.[ch]: Delete antvptr.
  210.  
  211.     * sgmlxtrn.[ch] (pvalptr): Deleted.
  212.     * modpars2.c (parseval): Don't set pvalptr.
  213.     (attval):
  214.     * modmd1.c (mdattdef):
  215.     * modmd2.c (tagtext): Use last argument passed to parseval
  216.     instead of pvalptr.
  217.  
  218. Tue Feb 11 13:23:03 1992  James Clark  (jjc at jclark)
  219.  
  220.     * modpars1.c (endprolog): tag::tpos needs to be GRPLVL+2 long.
  221.  
  222.     * entity.h (MAXNAMELEN): Move into sgmldecl.c.
  223.  
  224.     * modmd1.c (mdelem): Use lbuf for rank suffix. Use tbuf for
  225.     comgibuf.
  226.  
  227.     * modmd2.c (mdsrmuse): Store short reference name in lbuf.
  228.     Simplify accordingly.
  229.  
  230.     * modmd2.c (mdentity): Use external nmbuf instead of ename.
  231.     Allocate nmbuf if necessary.  Only needs to be NAMELEN+2 bytes
  232.     long.
  233.     * sgmlxtrn.[ch]: Declare nmbuf.
  234.     * modpars1.c (endprolog): Free nmbuf.
  235.  
  236.     * modmd2.c (mdentity): Get rid of pname.
  237.  
  238.     * modsgml2.c (usedef):
  239.     * modmd2.c (mdentity, mdnot):
  240.     * modmd1.c (mddtds):
  241.     * entgen.c (nentgen, field): Don't include length byte in fpinm.
  242.     * modmd2.c (mdextid):
  243.     * modmd2.c (field): Don't include length byte in fpinedcn.
  244.  
  245.     * ambig.c (ambig, ambigfree): Don't allocate memory all in one chunk.
  246.  
  247.     * modmd2.c (mdsrmuse): Point subdcl to somewhere that won't get
  248.     overwritten.
  249.  
  250.     * sgmldecl.c (newkey): Make size of names REFNAMELEN+1,
  251.     (sdnames): Don't allow name to be specified as parameter literal.
  252.     Install names at end.
  253.     (sdxsyntax): Don't install names.
  254.     (sgmlwrsd): Output new names as names not literals.
  255.     * synxtrn.h (key):
  256.     * arcsynrf.c (key): Make size of names REFNAMELEN+1.
  257.     * sgmldecl.c (REFNAMELEN): Move to entity.h.
  258.  
  259.     * sgmldecl.c (bufsrealloc): Handle the possibility that NAMELEN >=
  260.     LITLEN.
  261.  
  262.     * namelen.h: Deleted.
  263.     * entity.h: Define MAXNAMELEN explicitly.  Don't include namelen.h.
  264.  
  265.     * sgmls.c, sgmls.h, sgmlsasp.c, sgmlsasp.h, replace.c, replace.h:
  266.     Avoid depending on any upper limit to NAMELEN.
  267.  
  268. Mon Feb 10 11:07:24 1992  James Clark  (jjc at jclark)
  269.  
  270.     * lineout.c (define_entity): Have single argument including length
  271.     and EOS.
  272.     (handle_single_token): Change accordingly.
  273.     (handle_token_list): Temporarily make the token look like a name.
  274.  
  275.     * sgmlxtrn.[ch] (entbuf): Change to a pointer.
  276.     * sgmldecl.c (bufsalloc, bufsrealloc): Allocate entbuf.
  277.  
  278.     * sgmlxtrn.[ch] (dtype): Change to a pointer.
  279.     * modmd1.c (mddtds): Dynamically allocate dtype.
  280.     * modpars1.c (setdtype): If dtype is NULL, point it to indefetd.
  281.  
  282.     * modmd1.c (mdelem): Use nnmgrp for holding exception name group
  283.     lists.  Allocate nnmgrp if necessary.
  284.     * modpars2.c (parsegrp): Additional tbuf argument. Use this as
  285.     name buffer rather than local array.
  286.     * modparse2.c (parsengrp): Similarily.
  287.     * Change callers.
  288.  
  289.     * modmd2.c (mdsrmdef): Avoid use of sname buffer. Free srhptr when
  290.     cleaning up.
  291.  
  292.     * modpars2.c (parsegcm): Use tbuf instead of local array.
  293.  
  294.     * modserv.c (savenm): New function.
  295.     * adl.h (struct ad): Make adname a pointer.
  296.     * modmd1.c (mdadl, mdnadl, anmtgrp): Don't parse names directly
  297.     into adname.  Parse into a buffer and then save with savenm.
  298.  
  299.     * entity.h (struct hash, struct dcncb):
  300.     * adl.h (struct id):
  301.     * etype.h (struct etd):
  302.     * source.h (struct entity, struct srh):
  303.     * modserv.c (hin):
  304.  
  305.     * sgmlaux.h (struct error): Make subdcl a pointer.
  306.     * modsgml2.c (mderr, errorinit): Corresponding changes.
  307.     * sgmlmsg.c (printit): Pass empty string if e->subdcl is NULL.
  308.  
  309.     * sgmlmain.h (struct rcbtag): Make curgi a pointer.
  310.     * modsgml1.c (sgmlnext): Corresponding changes.
  311.  
  312.         * entity.h (struct fpi): Make fpinm a pointer. Delete fpinml.
  313.     * modmd2.c (mdextid): Don't copy ename.
  314.     * modsgml2.c (usedef): Likewise.
  315.     * entgen.c (field): Don't use fpinml.
  316.  
  317.     * entity.h (struct fpi): Make fpinedcn a pointer.
  318.     * modmd2.c (mdextid):
  319.     * entgen.c (field): Corresponding changes.
  320.  
  321.     * lineout.c (process_document): Fix so that it compiles if
  322.     !SUPPORT_SUBDOC.
  323.  
  324.     * sgmls.c: Don't include setjmp.h.
  325.  
  326.     * sgmlmsg.c: Avoid use of printf("%*s").
  327.  
  328. Sun Feb  9 13:18:10 1992  James Clark  (jjc at jclark)
  329.  
  330.     * ambig.c (struct contoken): Change type of size to UNCH.
  331.  
  332.     * sgmldecl.c (sdquantity): If specified quantity limit is too big
  333.     use biggest allowed.
  334.  
  335.     * modmd1.c (mdadl, mdelem, mdsrmuse): Make nmgrp external
  336.     variable.  Allocate if necessary.
  337.     (mdnadl): Rename nmgrp to nnmgrp. Make it an external variable.
  338.     Allocate if necessary.
  339.     * sgmlxtrn.c (nmgrp, nnmgrp): New variables.
  340.     * entity.h (MAXGRPCNT): Move into sgmldecl.c.
  341.     * modpars1.c (endprolog): Free nmgrp, nnmgrp, gbuf.
  342.     * sgmldecl.h (GRPCNT): Get it from sd.
  343.     * context.h: New file.
  344.     * traceset.c, context.c: Move common macros into context.h.
  345.     * Makefile: Include context.h in HDRS.
  346.     * etype.h (struct mpos): Make h a unsigned long *.
  347.     (HITCLEAR): New macro.
  348.     * context.c (ANYHIT, HITSET, HITON, HITOFF): New macros.
  349.     Fix operations on H to use these macros.
  350.     (offbit, allhit): Change long to unsigned long *.
  351.     (anyhit): New function.
  352.     * traceset.c (tracehits): New function.
  353.     (tracegi, traceend): Use tracehits.
  354.     * modpars1.c (stack): Use HITCLEAR to clear hit bits.
  355.     (endprolog): Allocate space for hit bits. Set grplongs.
  356.     * sgmlxtrn.c (grplongs): New variable.
  357.  
  358.     * modpars1.c (endprolog): New function.
  359.     (parsepro): Call endprolog.
  360.     * ambig.c (ambigfree): New function.
  361.     * modpars1.c (stack): Move allocation of tags and scbsgml into
  362.     endprolog.
  363.  
  364.     * ambig.c: Dynamically allocate struct contoken's.
  365.     (struct contoken): Use pointers rather than arrays for first and
  366.     last.
  367.     (newcontoken, freecontoken): New functions.
  368.     (andgroup): Dynamically allocate nullablefirst.
  369.     (MAXSTATES): Use GRPGTCNT rather than MAXGRPGTCNT.
  370.     * entity.h (MAXGRPGTCNT): Move to sgmldecl.c.
  371.     * ambig.c (listmerge): Use mergebuf.
  372.     (follow): Make it an UNCH **.
  373.     (ambig): Allocate follow and mergebuf if necessary.
  374.     * sgmlxtrn.[ch] (gbuf): Make it a pointer.
  375.     * modpars2.c (parsemod): Allocate gbuf if necessary.
  376.  
  377.     * etype.h (struct tag): Make tpos a pointer.
  378.     * modpars1.c (stack): Allocate tpos members.
  379.     * entity.h (MAXGRPLVL): Move to sgmldecl.c.  Increase to MAXGRPGTCNT.
  380.  
  381.     * context.c (TOKENHIT): Don't use intermediate variable.
  382.  
  383. Fri Feb  7 09:14:02 1992  James Clark  (jjc at jclark)
  384.  
  385.     * Version 0.6 released.
  386.  
  387. Thu Feb  6 10:16:57 1992  James Clark  (jjc at jclark)
  388.  
  389.     * Add casts so that it compiles with `typedef char *UNIV;'.
  390.  
  391.     * action.h (GTR_): New action.
  392.     * modpars1.c (parsecon): Handle GTR_.
  393.     * arcpcbrf.c (sp0a): Change action for EOB from GET_ to GTR_.
  394.  
  395.     * modpars1.c (parsepro): Increment sgmlsw in MDC_ and PIS_ actions.
  396.  
  397.     * Remove unnecessary #undefs.
  398.  
  399.     * Use (UNCH *)0 instead of NULL.    
  400.  
  401.     * Delete multiple pass support.
  402.  
  403.     * process.c: Rename to ...
  404.     * unixproc.c: New file.
  405.     * dosproc.c, portproc.c: New files.
  406.  
  407.     * sgmldecl.c (sdcolon): Don't give an error for 8879:1986.
  408.  
  409. Wed Feb  5 10:59:21 1992  James Clark  (jjc at jclark)
  410.  
  411.     * modserv.c (rmalloc): Change return type to UNIV.
  412.  
  413. Mon Feb  3 13:27:29 1992  James Clark  (jjc at jclark)
  414.  
  415.     * arcpcbrf.c (et32a): Change action for msc from DAS_ to LAS_.
  416.  
  417.     * lextoke.h:
  418.     * modsgml1.c (sgmlset):
  419.     * modpars2.c (s2valnm):
  420.     * arcpcbrf.c (pcbval):  Remove DEL class.
  421.     * modmd1.c (mdattdef): 
  422.     * modpars2.c (parseatt):
  423.     * sgmlmsg.c (parms):
  424.     * modsgml2.c (pcbtab):
  425.     * synxtrn.h:
  426.     * arcpcbrf.c (pcblitt): Use new pcb for tokenized attributes.
  427.     * modpars2.c (parselit): Handle DEF_ differently for tokenized
  428.     attributes.
  429.     * modpars2.c (tokdata): New function.
  430.     * sgmlfnsm.h: Declare it.
  431.  
  432. Sun Feb  2 17:49:47 1992  James Clark  (jjc at jclark)
  433.  
  434.     * lineout.c (print_string): Fix bug in DELNONCH handling.
  435.  
  436. Fri Jan 31 17:51:15 1992  James Clark  (jjc at jclark)
  437.  
  438.     * entgen.c (nsysidgen): Deleted.
  439.     (nentgen): New function.
  440.     (entgen): Use nentgen for notation identifiers.
  441.     (genext, ext): Omit entries for notations.
  442.     (field): Change calculation for accessing genext.
  443.     * sgmls.h (struct sgmls_notation): Delete id field. Add sysid and
  444.     pubid fields.
  445.     * sgmls.c (parse_notation): Support new N syntax.
  446.  
  447. Thu Jan 30 13:28:33 1992  James Clark  (jjc at jclark)
  448.  
  449.     * entgen.c: Include sgmlaux.h after unistd.h.
  450.  
  451.     * modmd2.c (mdextid): Increase ds.attdef by sum of normalized
  452.     lengths of explicitly specified data attributes.
  453.  
  454.     * entity.h (struct switches): New nopen member.
  455.     * modsgml2.c (entopen): Use nopen to check that maximum allowed
  456.     number of open subdocument entities is not exceeded.
  457.     * main.c (main): Support -o.
  458.     (swinit): Initialize nopen.
  459.     (build_subargv): Pass on incremented -o option.
  460.  
  461. Wed Jan 29 12:53:39 1992  James Clark  (jjc at jclark)
  462.  
  463.     * unix.cfg, entgen.c (DEFAULT_PATH): Don't use %L.
  464.  
  465.     * replace.c (load_replacement_file): Split off allocation into...
  466.     (make_replacement_table): New function.
  467.     (define_replacement): Ignore duplicates.
  468.     * replace.h: Change declarations.
  469.     * sgmlsasp.c (main): Use this to support multiple replacement
  470.     files.
  471.  
  472. Mon Jan 27 16:35:03 1992  James Clark  (jjc at jclark)
  473.  
  474.     * context.c (newtoken): Fix computation of nextand.
  475.  
  476. Sun Jan 26 23:11:23 1992  James Clark  (jjc at jclark)
  477.  
  478.     * main.c: Cleanup temporary files on exit or signal.
  479.  
  480.     * main.c: Pass -z option to subdoc processes. Read capacity usage
  481.     after process completes. Write capacity usage to file if specified
  482.     by -z option.
  483.     * modsgml1.c (sgmlsubcap): New function.
  484.     (sgmlend): Take account of subdocument capacity usage.
  485.  
  486.     * sgmldecl.c: Remove support for passing SGML declarations through
  487.     the environment.
  488.     * main.c, lineout.c: Remove support for outputting environment.
  489.     * sgmls.c, sgmls.h: Delete support for V command.
  490.  
  491.     * main.c: Write SGML declaration to temporary file. Pass this as
  492.     first file to subdoc processes.
  493.     * sgmldecl.c (sgmlwrsd): New function.
  494.  
  495.     * Rename RESOLVE_SUBDOC to SUPPORT_SUBDOC.
  496.     * lineout.c: Always resolve subdoc references.
  497.     * sgmldecl.c: Initialize SUBDOC to NO if !SUBDOC_SUPPORT.
  498.     * main.c, appl.h (subdocsw): Deleted.
  499.  
  500.     * lineout.c: Resolve subdocuments even if suppsw.
  501.  
  502.     * momd1.c (anmtgrp): Make adn a UNS *.
  503.     * sgmlfns.h: Change declaration.
  504.     * adl.h (struct ad): Make adnum a UNS.
  505.     * adl.h (struct ad): Make adlen a UNS.
  506.  
  507.     * entity.h (struct fpi): Use UNS rather than UNCH for lengths.
  508.  
  509.     * Use MAXNAMELEN rather than NAMELEN for size of arrays.
  510.     * namelen.h: New file.
  511.     * Use MAXGRPCNT rather than GRPCNT for size of arrays.
  512.     * etype.h (struct tag): Use MAXGRPLVL instead of GRPLVL for size
  513.     of tpos array.
  514.     * entity.h: Remove definitions of ENTCASE, NAMECASE, and most
  515.     quantity limits.
  516.     * sgmldecl.h: Redefine thse to pick up values specified in SGML
  517.     declaration.
  518.     * entity.h (MAXGRPCNT, MAXGRPLVL, MAXGRPGTCNT, MAXNAMELEN): New
  519.     definitions.
  520.     * modpars1.c (parsecon):
  521.     * modpars2.c (parseatt): Don't pass tbuflim.
  522.     * sgmldecl.c: Implement parsing of non-public syntax sections.
  523.  
  524.     * modserv.c (ntoa): Use sprintf.
  525.     * sgmlxtrn.[ch] (ntoabuf): Deleted.    
  526.  
  527.     * sgmldecl.c: Remove extended reference syntax.
  528.     
  529. Sun Jan 19 13:38:24 1992  James Clark  (jjc at jclark)
  530.  
  531.         * modpars1.c (parsepro): Don't take tbuf as an argument.
  532.         Change callers and declaration.
  533.     * sgmldecl.c (sgmldecl): Don't take tbuf as an argument. Change
  534.     callers and declaration.
  535.  
  536.     * modmd2.c (mdextid):
  537.     * entity.h (struct fpi): Use pointers for fpisysis and fpipubis.
  538.     No need for fpipubsw and fpisyssw.
  539.     * entgen.c (field, entgen): Corresponding changes.
  540.     * sgmlxtrn.h (sysibuf, pubibuf): Declare.
  541.     * sgmlxtrn.[ch] (sysibuf, pubibuf): Define.
  542.     * modmd2.c (mdexitid): Initialize these if necessary.
  543.  
  544.     * entgen.c (field, entgen, mindatcpy): Avoid using static buffer
  545.         in field.
  546.      
  547.         * sgmlmsg.c (elttrace): Avoid using buffer.  Change HDRELT string
  548.     accordingly.
  549.  
  550.     * sgmlxtrn.c: Change big arrays into pointers.
  551.     * sgmlxtrn.h: Change declarations accordingly.
  552.     * sgmldecl.c (sdinit, bufsalloc, bufsrealloc): New functions.
  553.     * modpars1.c (stack): Allocate scbsgml and tags if necessary.
  554.  
  555.     * sgmlaux.h: Include sgmldecl.h.
  556.     * sgmlincl.h: Don't include sgmldecl.h.
  557.     * entgen.c (field, entgen): Use ENTCASE and NAMECASE to determine
  558.     folding of names.
  559.  
  560. Fri Jan 17 18:30:07 1992  James Clark  (jjc at jclark)
  561.  
  562.     * msg.h: Avoid dependencies on reference quantity set.
  563.  
  564. Thu Jan 16 10:12:17 1992  James Clark  (jjc at jclark)
  565.  
  566.     * Rename strlsave to savestr.
  567.  
  568.     * modpars2.c (parselit, parseval, adlval, vallen, attval, parseatt):
  569.     * modserv.c (replace, strlsave, sandwich):
  570.     * sgmldecl.h (struct sgmldecl):
  571.     * sgmldecl.c (sdversion, sdappinfo, sdfixcolon, sdpubcapacity,
  572.     sdpubsyntax, sdcharset):
  573.     * lineout.c (define_entity, handle_token_list,
  574.     handle_single_token):
  575.     * modsgml1.c (sgmlnext):
  576.     * modsgml2.c (entopen):
  577.     * modmd2.c (mdsrmdef, parsefpi, tagtext, entfix, mdextid):
  578.     * entity.h (struct fpi):
  579.     * entgen.c (entgen, field):
  580.     * adl.h (struct ad):
  581.     * modserv.c (dellen):
  582.     * modmd1.c (mdattdef): Change representation of literals not to
  583.     have initial length byte.  Change representation of token list or
  584.     CDATA attributes (but not single token attributes) not to have
  585.     initial length byte.
  586.  
  587. Mon Jan 13 10:38:18 1992  James Clark  (jjc at jclark)
  588.  
  589.     * sgmlxtrn.h (gbuf): Make size GRPGTCNT+3.
  590.     * modpars2.c (parsemod): Don't count outermost model in
  591.     gbuf[0].tu.tnum.
  592.     * modmd1.c (mdelem): Change calculation of size of cmod and of
  593.     modcnt accordingly.
  594.     * ambig.c (MAXSTATES): Change to GRPGTCNT+2.
  595.  
  596.     * Version 0.5 released.
  597.  
  598.     * modmd1.c (mdelem): Outermost group doesn't count towards modcnt.
  599.  
  600. Sun Jan  5 10:51:05 1992  James Clark  (jjc at jclark)
  601.  
  602.     * ambig.c: New file.
  603.     * etype.h (struct etd): Add mark field.
  604.     * modpars2.c (parsemod): Possibly call ambig().
  605.     * entity.h (struct switches): Add swambig member.
  606.     * main.c (main, usage, build_subargv): Handle -a option.
  607.     (swinit): Initialize swambig.
  608.  
  609. Wed Dec 11 14:01:06 1991  James Clark  (jjc at jclark)
  610.  
  611.     * modmd1.c (mdadl): Don't call etdadl() if alperm is 0.
  612.  
  613.     * context.c, modpars1.c: Move definitions of RC* into ...
  614.     * etype.h
  615.  
  616.     * context.c (newtoken): Make sure Tstart is unhit.
  617.  
  618. Thu Dec  5 10:30:16 1991  James Clark  (jjc at jclark)
  619.  
  620.     * process.c (run_process): Use vfork() if available. Call buildenv
  621.     before forking and then cleanup in parent.  Use _exit() if execvp
  622.     fails.
  623.     * unix.cfg: Add HAVE_VFORK and HAVE_VFORK_H.
  624.  
  625.     * std.h: Delete definition of isascii.
  626.  
  627. Tue Nov 19 08:42:41 1991  James Clark  (jjc at jclark)
  628.  
  629.     * lineout.c (print_data): Don't split up data.
  630.     (data_count): Rename to have_data.
  631.  
  632.     * context.c (context): Handle the case where there's a hit in a
  633.     plus group, but the current element has ended.
  634.  
  635. Thu Nov  7 09:38:14 1991  James Clark  (jjc at jclark)
  636.  
  637.     * source.h, sgmlaux.h, sgmlmain.h, modsgml1.c, lineout.c: Use
  638.     unsigned long to hold line number.
  639.  
  640. Wed Nov  6 11:28:50 1991  James Clark  (jjc at jclark)
  641.  
  642.     * std.h: Add declaration of strerror.
  643.     * sgmlmsg.c: Delete declaration of strerror.
  644.  
  645.     * msg.h: Improve message 134. Delete messages 135 and 137.
  646.  
  647. Tue Nov  5 10:13:54 1991  James Clark  (jjc at jclark)
  648.  
  649.     * arcpcbrf.c (et0a): Change action for sep (TAB) from NOP_ to DAS_.
  650.  
  651. Mon Nov  4 15:28:40 1991  James Clark  (jjc at jclark)
  652.  
  653.     * sgmls.h: Rename to lineout.h.
  654.  
  655. Sat Nov  2 09:06:09 1991  James Clark  (jjc at jclark)
  656.  
  657.     * msg.h: In message 133, s/comment/markup declaration/. 
  658.  
  659.     * arcpcbrf.c (et7a): Use EE_ rather than EOF_ on EE.
  660.     * modpars1.c (parsepro): Give an error message on EOD_.
  661.     * msg.h: Use message 127 for this.
  662.  
  663.     * modpars2.c (charrefa): Decrement RCNT if the character is RS.
  664.  
  665.     * modpars1.c (parsepro): Give an error if the DTE_ is not at level
  666.     0, and do not terminate the DTD.
  667.     * msg.h: Use message 143 for this.
  668.  
  669.     * msg.h: Delete message 143.
  670.  
  671. Fri Nov  1 08:58:26 1991  James Clark  (jjc at jclark)
  672.  
  673.     * modmd2.c (mdsruse): Use message number 142 when an associated
  674.     element type is specified and the declaration is not in the DTD.
  675.     Use message 28 if an associated element type is not specified and
  676.     the declaration is in the DTD. Use message 126 if something other
  677.     than an associated element or MDC is specified and the declaration
  678.     is not in the DTD.
  679.  
  680.     * msg.h: Delete message 138. This error is caught in parsefpi().
  681.  
  682.     * msg.h: Delete message 140.  Not used anywhere.
  683.  
  684.     * modpars2.c (parsegcm): When GRPGTCNT is exceeded use message
  685.     number 114.
  686.  
  687.     * msg.h: Don't abbreviate attribute as att in messages 72 and 151.
  688.  
  689.     * msg.h: s/not declared minimizable/not minimizable/
  690.  
  691.     * modmd2.c (mdsrmdef): Give an error if concrete syntax does not
  692.     support short references.
  693.     * msg.h: New message 198.
  694.  
  695.     * modpars2.c (adlval): If SHORTTAG is NO and OMITTAG is NO, do not
  696.     allow an unimpliable attribute value specification to be omitted.
  697.     * msg.h: New message 197.
  698.  
  699.     * msg.h: Improve message number 84.
  700.  
  701.     * modpars2.c (parseatt): If SHORTTAG is NO, do not allow an
  702.     undelimited attribute value (ie an attribute value specification
  703.     that is not an attribute value literal).
  704.     * msg.h: New message 196.
  705.  
  706.     * modpars2.c (parseatt): If SHORTTAG is NO, do not allow
  707.     attribute name to be omitted.
  708.     * msg.h: New message 195.
  709.  
  710.     * modpars2.c (parseatt): No need to have prototype definition.
  711.  
  712.     * modpars1.c (parsetag): If SHORTTAG is NO, do not allow
  713.     unclosed tag or null start tag.
  714.     * msg.h: New messages 193 and 194.
  715.  
  716. Thu Oct 31 10:51:54 1991  James Clark  (jjc at jclark)
  717.  
  718.     * sgmldecl.c (noemptytag): New function.
  719.     (sdimply, sdfeatures): Call noemptytag() if the SHORTTAG feature
  720.     is NO.
  721.  
  722.     * sgmldecl.c (sdimply): Store value of SHORTTAG environment
  723.     variable in sd.shorttag.
  724.  
  725.     * modmd1.c (mdattdef): Declared value of data attribute cannot be
  726.     ID.
  727.     * msg.h: Use message 144 for this.
  728.  
  729.     * msg.h: Delete message 144.
  730.  
  731.     * modpars1.c (parsecon): Handle DCE_ action by switching to
  732.     pcbconm and repeating current character.  Move code that was
  733.     target of goto.
  734.  
  735.     * Makefile: Add ChangeLog to the list of files to go in the
  736.     distribution.
  737.  
  738.     * unix.cfg: Mention that defining HAVE_CAT requires use of
  739.     /usr/xpg2bin/cc on a Sun.
  740.  
  741.     * modpars1.c (destack): Don't give an error when a required tag
  742.     was not specified if conrefsw is set.
  743.     (parsecon): Clear conrefsw only after calling destack().
  744.  
  745.     * sgmldecl.c (envcharset): Skip any white space before digits
  746.     after doing sscanf.
  747.  
  748.     * main.c (subdocsw): Initialize to 1.
  749.  
  750.     * Started using ChangeLog at version 0.3.
  751.